finalized Codebook