apply to make templates.