shouldn't this be just  `input_urls.map ...`

you are basically returning the result of the map, right?