changes for statistics