modified for markdown output