added acceleration, needs work