edited filter branch for delete