refactor
rename cases
refactor find_all_index
cleanup