add binary search flag and finder struct