Title: Function of law in contemporary society