working on acceleration values