inline inherits