init the inventory