nit: we put spaces around the "if" keyword, and in new code we try to always use braces for `if` statements