working on stats tab