for the sheet output section