edited codebook formatting