end for loop