Updated Access modifiers to Private - to enforce encapsulation