How to prioritise happiness