add statistic method