(and switch to using params[:level][:type] in the create action of course)