reworking cbInv