private ItemStack setRecipeRank(ItemStack preResult, ArrayList<ItemStack> recipeItems){
		ItemStack i = preResult;
		int total = 0;
		int nonTotal = 0;
		if(this.isaNonFoodItem(i.getType())){
			nonTotal = nonTotal + 1;
		}
			ItemMeta meta = i.getItemMeta();
		if(i.hasItemMeta()){
			if(meta.hasLore() && meta.getLore().size() >= 2){
				int l = this.getItemRankLevel(meta.getLore().get(1));
				total = l + total;
			}
		}
			int  rank = (total - nonTotal) / recipeItems.size();
			Bukkit.broadcastMessage("rank total " + rank);
			String r = this.setItemRank(rank);
			ArrayList<String> lore = (ArrayList<String>) meta.getLore();
			lore.add(r);
			meta.setLore(lore);
			i.setItemMeta(meta);
				return i;
	}