Created proper methods for getting statistic