Reworking the inventory portion