got the stats to store in the stats table