add StatGrabber to datawriter