this contains the code for my thesis