the code greatly alters the common law