messed up inheritance again