Added in cutoff time code.