A path from depression to happiness