Factors influencing mental health