Logic and emotion