added binary search
added binary search