adds stats view