You don't actually need the while loop here, as the goal is to only go through the code once. It doesn't really hurt anything but the code will work fine without it.