anchor.diff:  			var id = $(from).data("id");
   			var name = $(from).data("name");
   			if ($(from).data('type') == 'procedure') {
  -				add_proc_to($li, name, id);
  +				//console.log($(this).processes.offsetparent.childElementCount);
  +				console.log($(this).find(".processes").children().length);
  +				if ($(this).find(".processes").children().length > 1) {
  +					add_proc_to($li, name, id, 0,$head.find("#measurement").val());
  +				}
  +				else {
  +					add_proc_to($li, name, id, $head.find("#quantity").val(),$head.find("#measurement").val());
  +				}
   			};
   
   		}
  
positive.code: 	}
  }
  
  function add_proc_to($mat, name, id) {
  	var $proc = $('<li></li>', {
  		"class": 'collection-item process',
  		"text": name,
  		"data-id": id,
  		"data-name": name
  	});
  	var $delButton = make_delete_button($proc, 'process');
  	$delButton.appendTo($proc);
  	add_inputs($proc, 'process');
  	// $mat.find('.processes :last-child').before($proc);
  	$mat.find('.processes :last').before($proc);
  }
  
negative.code: /* global $, materials, SAVE_URL */
  
  function make_new_material_section(name, id, quantity=0, measurement="kg") {
  
  	var $li = $('<li></li>', {
  		"class": 'material-section',
  