removed references to accelerometer