delete the list of names, after populating the list of ids