added checkAcceleration from Accel
fixed conflicts