reduce the output to display