support for template in diff assembly
same