changed statistics to static class