delete function, search on-going