Factors that influence mental health