anchor.diff:  
     Result := listElement;
   end;
  +
   // calculates amount of material needed to craft an item
   function calcAmountOfMainMaterial(itemRecord: IInterface): Integer;
   var
  
positive.code: 
    end;
  end;
  // gets price value of item
  function getPrice(item: IInterface): integer;
  var
  
negative.code: 
    end;
  end;
  
  // generic wrapper for logging control, to produce more readable logs
  procedure log(msg: string);
  begin
  