Functions and Effects of Laws