add second trial of valid-parentheses