MD formating