Final codebook