put this in getUrl