J Bhanot wrote: < cNode=nodes(connected), %gives node connected to e6 < cNode=hd(Nodes), ---- > Nodes=nodes(connected), %gives nodes connected to e6 < cNode=hd(Nodes), /Richard