Be carefull hee $base_ids will now contains possible duplicates values ```array(1,1,2,2)``` so you must array_unique function to filter the array