I hope you mean `if (!flag)` :)