set up for nodes and chart