Updated Inventory class