added console.log to see the result from the url expander