lower section of inventory added to code