trying to establish a logical way of adding children to nodes.