stop displaying the entire array, speed up the search