Master final thesis codes