Added statistics to output