the function of legal education