first version of codebook