added some structure to the stats