163. Examination and cross-examination of parties or their agents and of witnesses, written statement by defendant