ex19: Object oriented programming