"add search function"