abstract batch and add filter-existing tool