reward function added