[fifo] new functions for fifo