Still bug with increment in while loop.