implement ACCELEROMETER
implement ACCELEROMETER2