accelerometer abstractions