added integration with freemarker