reformed codebook to md