added md2docx function