First test with accelerometer