update the doTunnel method….