adding the duration to the Trip executable