Added valid parentheses