A train was slowly moving along the track, and a horn sounded.