redesigning import table routine