writing all outputs and headings