added duration to clock