working graph, lots to clean up