changes to Codebook