added getName and changed to MentalState (upper case M)