legal setting