working conversion from export to import