Added validate braces