51. The Court while reiterating the principle enunciated in Mohanlal Shamji Soni (supra) stressed upon the wide ambit of Section 311 which allows the power to be exercised at any stage and held that: “ 44.The power of the court under Section 165 of the Evidence Act is in a way complementary to its power under Section 311 of the Code. The section consists of two parts i.e. : (i) giving a discretion to the court to examine the witness at any stage, and (ii) the mandatory portion which compels the court to examine a witness if his evidence appears to be essential to the just decision of the court. Though the discretion given to the court is very wide, the very width requires a corresponding caution. In Mohanlal v. Union of India this Court has observed, while considering the scope and ambit of Section 311, that the very usage of the words such as, “any court”, “at any stage”, or “any enquiry or trial or other proceedings”, “any person” and “any such person” clearly spells out that the section has expressed in the widest-possible terms and do not limit the discretion of the court in any way. However, as noted above, the very width requires a corresponding caution that the discretionary powers should be invoked as the exigencies of justice require and exercised judicially with circumspection and consistently with the provisions of the Code. The second part of the section does not allow any discretion but obligates and binds the court to take necessary steps if the fresh evidence to be obtained is essential to the just decision of the case, “essential” to an active and alert mind and not to one which is bent to abandon or abdicate. Object of the section is to enable the court to arrive at the truth irrespective of the fact that the prosecution or the defence has failed to produce some evidence which is necessary for a just and proper disposal of the case. The power is exercised and the evidence is examined neither to help the prosecution nor the defence, if the court feels that there is necessity to act in terms of Section 311 but only to subserve the cause of justice and public interest. It is done with an object of getting the evidence in aid of a just decision and to uphold the truth.”.”