Got most of the stats view working