Retaining value and binary search, fools!