Sample tunnel code