add real simulation of list and change the name check for element deletion