At strategic locations, sensors were added to detect derailed cars. If a derailment was detected, the segment was stopped instantly.