updated formatting of codebook