Added accelerometer