They also worked in large numbers on the railroad