reformated templating of search