GetSurnames function and ProcessValuations macro