code for dissertation