refactoring ImportSchemaData