selection of nodes