add spaces around curly braces