Does this have to happen on each iteration of the loop?