added output to run of program