role of general counsel