Working importer(need to clean code)