Added accelerometer.