add comment for binarySearch