add bracket map
bracket match
update comment