revert to original package for loop from kmp1