adding to Codebook