gave inventory sections titles
building the materials object
hook inventory function built