added classical inheritance drill