add summary info to output.