python files added for statistics