added raw output to getOutputSink