now prints the statistics