Civil law is largely classified and structured and contains a great number of general rules and principles, often lacking details. One of the basic characteristics of the civil law is that the courts main task is to apply and interpret the law contained in a code, or a statute to case facts. The assumption is that the code regulates all cases that could occur in practice, and when certain cases are not regulated by the code, the courts should apply some of the general principles used to fill the gaps