Mentality function added