made improvements to import&export