using a time-dependent priority