new reward mech added, errorfix