use tripDuration directive