added summary to output