added acceleration with all directions