correct inheritance from parent to this