some changes to capture.py led to others