This is the reward center code for local testing