curly brackets missplaced