final changes in the codebook