added loopthru command