add imports to factory