some additions to tunneling