complete rewrite of the inventory
complete rewrite of the inventory