minor fixex + curly brackets task solved