legal regulation of compensation