read from ets, write to dets+ets