Implemented FIFO handler