Adds method for populating all nodes for selected