Pass stats to view