added output files and comments