modified codebook and readme