a factory is often a system for assembling products