The locomotive is slowing down as it passes through  a crossing with its lights on.