preparation for factory