adding good error reporting to importer