implement binary search method
merge issues