while loop check 3