notes in simple-graph.js file