added cFIFO to handle FIFO queues for data stream