adds some curly braces