added weight to InventoryState