Can you move this into the loop, just before you use it?  Also, you can initialize to `nil` since its value will get overwritten.