correct typo iherits -> inherits