wrapping ternary operator in parens