adding duration to details