can remove an element from the list