added URL variable and method