add code for a FIFOed reservoir