new version of codebook