recreated the inventory object as an example.