http://arithmetic.stanford.edu/~oskar/thesis.html