reorganizing writing of output