Using UrlLocation object