path encapsulation