binary search added to spotrod