Added duration to the timeline