add inheritance