better output statistics