md improvements