starting comprehensive thorp.py