fixed closing curly brackets