working on adding the output files