FIFO and LIFO Method Explanation