while loop ex completed