Rewrote SearchFunctionsImpl