bracket matching is working