updated handling of time of trial