added curly braces