Calculating names in summary