adding silver searcher func