changed to the right stats dict