It's just like accounting... FIFO, first in, first out. Keep a stockpile, and rotate the stock.

Troy