look for the first apearance of a node(as written on paper)