Yeah this presumes the list is sorted.