adding the option to optional parameters to _url and _urls methods