Add method for statistics