StatsProducer many changes