added statistic manager stuff