moved the Importer declaration out of the main loop