added boolean parentheses