cognitive and emotional functions