Chapter 46 - Calculating the reward