Take out accelerometer code