Masters thesis