finalizing static template