COMPREHENDING THE FUNCTION OF MEDIATION IN LEGAL PROBLEM RESOLUTION