removed redundant curly braces