so to not have to worry about it, better to do the variable declarations outside the for loop?