add more information to codebook