accelerometer debugging