workin on stats and output