Happiness in a contract