working on client search implementation