write md