tpipe and queue