move function based on the length of the car