Indeed, when the legislature misses the purpose, the judge is entitled to ensure that the goal is achieved. He should not sit idly by and report the missed (see K. Diplock, the courts as 10(1965) legislators). It is often said that the court may amend the law in order to prevent an absurd, unreasonable, unworkable result, or that is inconsistent with the law as a whole (see Civil Appeal 126/79 Fried v. Appeals Committee under the Disabled Persons of Nazi Persecution Law, 5717-1957[58], at p. 27. These matters take on the greatest importance in the matter of a contract concluded between the parties. Their force is mainly in all those cases in which the laws of "clerical error" in the Contracts Law (General Part) do not apply, since the subjective purpose has not been proven. The amendment in the text will be made, in these circumstances, in order to realize the objective purpose of the contract. Judge Halsbury noted this more than a century ago, when he noted:
" regard... As its main purpose, one must reject words, indeed looking at the whole of the instrument, and seeing what one must Whole provisions, if they are inconsistent with .glynn v) "what one assumes to be the main purpose of the contract .( 357, at[73] (1893) . In a
similar vein, Justice Berenson wrote:
"When we come to interpret a document, we should not uproot a verse or a passage from its place and interpret it literally as if it were standing on its own without paying attention to the entire document and sticking to it. The first rule of interpreting a document is to try to get to the true intention of the writer on the basis of what is written in the entire document and taking into account the known background of the matter. It does not always determine the literal meaning of the words used. The written words should not be regarded as the be-all and end-all, when the context, the words and the circumstances surrounding the matter indicate an intention other than that which arises from the ordinary interpretation of the text" (Civil Appeal 324/63 [35], at p. 373).