oop - protecting properties