Fixed inheritence