A functionalist perspective on the nature of emotion.