Fixed bug in initial time

Added duration