add for merge sort