changed to using a graph container.