Made changes to codebook