bracketMatching