add cache for statistic