Added parenthesis checking in a string