statistic api modified