fixed thesis2.py