Working version of SearchClient