nit: space between if and parens