fix inheritance examples