Working on accelerometer support