more skeleton work. lots of notes in the graph.h