modified sb_import