Achieving a balance relationship between mediation and judicial proceedinngs