handling 1 pair of brackets