change to use new binary search core