private boolean isNewerItem(Item bought) {
		inv_last_item_bought_name=bought.getName();
		inv_last_item_bought = bought;
		for(int i=0; i<inv_items.size(); i++) {
        	Item e = inv_items.get(i);
        	if((e.getPreName() + e.getName()).equals(bought.getPreName() + bought.getName())){ //
        		if(bought.getLevel()>e.getLevel()){ //higher level than the one in our inventory
        			inv_items.remove(i);
        			inv_items.add(bought);
        			inv_last_item_bought_text="Upgraded " + bought.getName() + " to level " + bought.getLevel() + ".";
        			stats.setItems_Bought_Upgraded(stats.getItems_Bought_Upgraded()+1);
        		}
        		else{
        			inv_last_item_bought_text="Found a duplicate level " + bought.getLevel() + " " + bought.getName() + ", Discarding.";
        		}
        		return true;
        	}
		}
		inv_last_item_bought_text="Found a new item! " + bought.getName() + " level " + bought.getLevel() + ".";
		inv_items.add(bought);
		stats.setItems_Bought(stats.getItems_Bought()+1);
		return false;
	}