changes on ads_array