This variable isnt needed here. Just use map in the nextRow call only so you dont have to keep setting it to null