this method should be in CStatistics, also I think it is already there