create_graph added, tested