add BaseStatistic class