template now copies each sub activity