use 'return inherit(...)' style throughout