Added statistical output functions