while (something == false)


is ugly code. Much cleaner is to do



while (!something)