md for codebook