Handling for curly braces