switched from deprecated 'inh' to 'inherits'