added method to only return url