finished encapsulation