In the old days - before computers etc - how did a signalman in a signal box know which way to send a train. If the signal box was at a junction where a line splits into two - how would the signalman know that the approaching train was to be sent down route A and not Route B.