for controlling traffic in two directions over the same pair of rails