Codebook almost done