demo of surrogate graph