The train trundled along the track, beeping its horn.