added the delete option for inventory.