many changes to thesis writeup