added the freemarker for template