chnges on new template compoundcomp