renamed binary_search to search