v.2 working accelerometer
working v.2