Added getUrl method