Attemping to change the inventory class to actualy work.