changed the way display name is retrieved