keep some stats and output some dots