how to create an inventory