move fifo to two separate