Add missing else. Fix syntax.