all search functions are now working