fixed lack of curly bracket