replay: move internal data to the structure