added GetReward method