just before making output object to process all the output things