Add statistic processing