updates in templating inheritance