Nit: always use one space between `if` and parentheses.