better STATS output