How about matching the closing parentheses at the end?