Outlining the topic and choosing a thesis advisor, with the help of the programme coordinators. Drafting the thesis proposal.