changed the duration printing