optimization on local template