also added nodes to parents, so walk up the tree