adding curly braces

adding curly braces to emphasize the style