updated codebook and readme