adding static template first pass