abstract the acceleration class