implemented fifo policy