adding statistic tracking