Added method getStatistics()