linking with templating framework