creating 2 classes and using the private methods of one class to reach the public variables of another so that the users who interface with the first class can not directly access the other, or rather can only interact through your defined methods in the first class