final thesis pdf