change trcDataSink and rawDataSink to vector.