complete  search basic functions