add bracket matching