formatted codebook