templating structure