encapsulation planning