The right amount of pleasure and pain