add total duration