close parentheses for conditional and function