write a shim importer.