Updated formmatting of codebook