modified accelerometer speed