added template.pl