Added resetVelocity