added header for main_text_output