introduced statistic table and function