working on the stats page