MS Thesis code