added reward hook