grabbing id and names for nodes only