add inherit and multiinherit