Add delete function on list