modified static template include function
modified static template include function