refactored to use time-from-sequence-start.