reorganize output section