add searchNode Method.