add more details to codebook