Almost, put the "}" in the same line as the "else {" and we are good to go! ("} else {")