output now in text format, using <br> tag instead of newline