Changes for statistics
Merge pull request #1 from kirussell/master

Changes for statistics