updated codebook formatting