add inheritance examples