minor changes to codebook