more problems with binary search