Encapsulation practice homework