add two graph refs