search and delete