UNDERSTANDING THE FUNCTION OF MEDIATION IN LEGAL PROBLEM RESOLUTION