changed newMessages to newMarkdown