Added method for statistics