removed redudant curly braces