added merge() docstring