either add parens or make it a single line if statement