factories work