It’s hedonic calculus. What we do to achieve pleasure and avoid pain.