A train was racing along the tracks with a loud whistle.