nameSetToList is now nameSetElems