first template applied.