closure and url