print out of loop