- add search function.