removed unwanted curly braces