accelerometer added