working with a pair of brackets in starting and ending