change the accelerometer class