Change reward function to simpler