Added Inventory code