move out creation of UrlBuilder to `$url_bulder` helper variable to decrease indentation level and increase code clarity