When you're sad and miserable, it's better to learn something