Senior Thesis code