codebook and finishing touches