starting on template rendering and inheritance