templating is working