Renamed T_span to duration, per Russ' feedback.