removing nonfunctional rewards code