made the graph module work