do you need to check if the name already exists in the key list before appending?