index numbers and overall cleaner look for the search method