working on stats tables generator