implement Emotion class