start to fix thinking.py