`url` starts out as a string and changes to an array here. I'm not a stickler for immutable variables, but I do like to use new variables when the basic data type changes. Maybe use a `path` variable for the initial string and `url` for the array that is eventually returned?