Revise question 1 to include encapsulation