reorg RDataWriter