codebook done