basic exploration of objective c class hierarchy implementation