encoded the searched wrod