ability affect moods cognitive abilities