added merge capability