Outside on the railway, a man in a white coat stood beside the locomotive and waited for the train to stop.