for loop finished