added InventoryState