The pursuit of happiness: when work makes the difference