adding fifo for simulation