Changed formatting of codebook