codebook complete version