+added the THRESHOLD and ACCEL_FACTOR constants