building of the railroad