adding compiled template