modified codebook again