Added a duration timer.