improved the package by rendering the templates immediately when a template gets passed