make the run for a loop