add statistic handling