untangle inheritance