allViews function implemented (markdown, messages, function itself)