set displayName in function setDisplayName