modified Codebook