My bad, this is code outside of the loop