use templating subsystem