encapsulation finished