Adding Codebook