added notes for encapsulation, polymorphism, inheritance