first in first out fifo method example