added rescue to import