almost finish the stats view