add accelerometer query