add access to accelerometer