Detour example extended