finished for loops