legality of measures