Section 18 of the Criminal Procedures Act