The key element of an optimal experience

The key element of an optimal experience is that it is an end in itself. Even if initially undertaken for other reasons, the activity that consumes us becomes intrinsically rewarding. … the doing is the reward.
Mihaly Csikszentmnihalyi