Added new getUrl method