add WriteOutput