add duration output