commented binsearch