opening brace should be on the same line as the if, for consistency