adding initial graph support