Make the inventory a sdynamic