mapped nodes to parents