csh loop refactor
csh loop skip