merge now accepts activities instead of aggregated activities