addSink added to newapi