Added multi-template rendering