new sample with templating via freemarker