beginnings of template inheritance