basic graph is working now