template related changes IMP