wrong inheritance