add inherit dependency