modified statistic api