added first draft of the final thesis