The common law and civil law systems are the products of two fundamentally different approaches to the legal process. In civil law, the main principles and rules are contained in codes and statutes. Hence, codes and statuettes prevail, while case law constitutes only a secondary sources of law. On the other hand, in the common law system, the law has been dominantly created by judicial decisions, while a conceptual structure is often lacking. This difference is the result of different role of legislator in civil law and common law. The civil law is based on the theory of separation of powers, whereby the role of legislator is to legislate, while the courts should apply the law. On the other hand, in common law the courts are given the main task in creating the law.