As the whistle sounded, a train raced along the tracks.