Style (minor): it's allowed to drop the braces from single-statement if statements.