added templating use