worst debugging method ever.  should really clone data locally.