code for my thesis