adds curly brackets