extended delete to take a list.