add correct inheritance