adding an ending bracket