Use encapsulation class