nit: space between `if` and `(`, put `{` on same line