Corrected inheritence