The first half or so would have been written awake. For all I know, the prof only read some of that first part. But I was still pretty damned impressed with myself.