this should only be in the stats model.