add accelerometer
fix typo