in server, getReward into getRewardPostion