folding of imports