codebook final