forgot special case in find_index