Working with multiple pair of braces