complete matching brackets