changes to xor assignment

changes to preferredName/xor assignment per suggestions