A dynamic theory of personality and emotions