bracket matching completed