inconsistent spacing, use space between `if` and `(` throughout