changed way acceleration works