I added a binary search