nit: space after `if`