printing an output summary to the console