fixed encapsulation
updated README