added the merging presentations functionality