reformatted output, ready for text output