Checking out while loops