added basic graph structure