md -> sm