add binary search and merge sort w block