My Thesis code