added the merge and move methods