modify calc statistic method