final codebook