Added parenthesis check function and page