- added template rendering