ah, you're correct, sorry -- i assumed ofLog was being called outside the loop because it was declared outside the loop. i didn't read closely enough.