Template system implemented