Learning to be thankful