added search iteration to rabble_array