REFACTOR import_base