fixed encapsulation