LRU and FIFO working