adding in get url functionality