HOW MODERN LEGAL STRUCTURES FORM SOCIETY AND GUARANTEE JUSTICE