changed name of search functions in templates