Basic tunnel logic