added inheritance levels