Accelerometer added