implemented C fifo command