added nodes.R