modified form for match of template