The influence of close friendships on people's mental state