a race car accelerates and switch gears