changed RESET_RATE to 1