Herding legal environment and contracts