Renamed array_add to array_add_value to avoid conflicts