Final thesis draft