Modified structure of templates