I can not state how important it is to initialize var just before while loop for next while loop. I had been working for at least 1 hour on this, to just realize, i should have not initialized both variables at the same time. Good luck out there.