Recompiled main thesis