Added parentheses functionality