add stats accumulation