merge do activities of sub machine