add nodes<- method