Working out binary search junk
Putting things back together