restructured thesis.tex