On the track beside a cliff of a locomotive, lights flickered and whistles sounded.