add search functions file