How to teach intrinsic motivation