Preparation of a thesis for defense