major template work