Why not move this out of the loop?