Made small changes to think.py