worked through 'Encapsulating Data' section of learning objectiveC