added refs to graph