corrected filled-depots? function