What is the main reason that factory workers were paid poorly?