adjusting template