add code to output raw text data